package com.ruoyi.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

/**
 * 房源管理对象 house_manage
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class HouseManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 房东id */
    @Excel(name = "房东id")
    private Long userid;

    @Transient
    private String realName;

    /** 咨询量 */
    @Excel(name = "咨询量")
    private Long consultNum;

    /** 看房量 */
    @Excel(name = "看房量")
    private Long lookNum;

    /** 状态 */
    @Excel(name = "状态")
    private Long isStatus;

    /** 房源id */
    @Excel(name = "房源id")
    private Long houseid;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getHouseText() {
        return houseText;
    }

    public void setHouseText(String houseText) {
        this.houseText = houseText;
    }

    @Transient
    private String houseText;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setConsultNum(Long consultNum) 
    {
        this.consultNum = consultNum;
    }

    public Long getConsultNum() 
    {
        return consultNum;
    }
    public void setLookNum(Long lookNum) 
    {
        this.lookNum = lookNum;
    }

    public Long getLookNum() 
    {
        return lookNum;
    }
    public void setIsStatus(Long isStatus) 
    {
        this.isStatus = isStatus;
    }

    public Long getIsStatus() 
    {
        return isStatus;
    }
    public void setHouseid(Long houseid) 
    {
        this.houseid = houseid;
    }

    public Long getHouseid() 
    {
        return houseid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("createTime", getCreateTime())
            .append("consultNum", getConsultNum())
            .append("lookNum", getLookNum())
            .append("isStatus", getIsStatus())
            .append("houseid", getHouseid())
            .toString();
    }
}
